﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Compiler
{
    public class NotAcceptException : Exception 
    {
        public string RestOfSource { get; set; }
    }

    public class UnknownLexeme : Exception 
    {
        public LexerPair lexerPair { get; set; }
    }

    public class AcceptException : Exception
    {
        public INode RootNode { get; set; }
    }
}
